

    <div id="content">
     <div id="content2">
<?php
$currentPage = $this->currentPage;

if ($currentPage) {
    // check exists parent
    if ($currentPage['all_parent']) {
        $allParent = explode(',', $currentPage['all_parent']);
        if (isset($allParent[0])) {
            $allCategory = $this->allCategory;
            foreach($allParent as $parentID):
                $parent = $allCategory[$parentID];
                // check to ignore root
                if ($parent['left'] != 1) {
                ?>
                    <a href="<?php echo BASE_PATH . '/' . CURR_APP ?>?pid=<?php echo $parent['category_id']?>"><?php echo $parent['admin_title'];?></a> >> 
                <?php
                }
            endforeach;
        }
        echo @$currentPage['admin_title'];
    }
}
if ($currentPage) {
?>
<div style="padding-top: 10px;">
                                    <?php
                                    echo @$currentPage['description'];
                                    ?>
</div>
<?php
} // if has item
?>
     </div>
            <?php
                echo $this->action('right', 'index', 'index');
            ?>
   </div>
